﻿<Window x:Class="ChatBox.Views.AboutView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ui="clr-namespace:ChatBox.UI"
        Title="About ChatBox"
        Icon="/ChatBox.ico"
        WindowStartupLocation="CenterOwner"
        WindowStyle="SingleBorderWindow"
        SizeToContent="WidthAndHeight"
        ResizeMode="NoResize"
        ShowInTaskbar="False">
  <Border Padding="4">
    <DockPanel>
      <Button Content="_Close" DockPanel.Dock="Bottom" Click="Close_Click" IsDefault="True" HorizontalAlignment="Right" VerticalAlignment="Center" Margin="4" MinWidth="75"/>
      <ui:MultiSizeImage Source="/ChatBox.ico" DockPanel.Dock="Left" Margin="4" Width="256" Height="256"/>
      <StackPanel>
        <TextBlock Text="{Binding Path=Title}" Margin="4,0"/>
        <TextBlock Text="{Binding Path=Description}" Margin="4,0"/>
        <TextBlock Text="{Binding Path=Version}" Margin="4,0"/>
        <TextBlock Text="{Binding Path=Copyright}" Margin="4,0"/>
      </StackPanel>
    </DockPanel>
  </Border>
</Window>
